/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DBLayer;

import Model.Employee;
import java.util.ArrayList;

/**
 *
 * @author Administrator
 */
public interface DbInterfaceEmployee {
    // get all employees
    public ArrayList<Employee> getAllEmployees(String wClause);
    //find one employee by uniq value
    public Employee searchByName(String name);
    public Employee searchById(String id);
    public Employee searchByPhone(String phone);
    public Employee searchByEmail(String email);
    //insert a new employee
    public int insertEmployee(Employee emp);
    //update information about an employee
    public int updateEmployee(Employee emp);
	//delete employee
    public int deleteEmployee(String phone);
}
